export function dragDropFile(el:HTMLElement,onfilechange:(file:FileList)=>void){
  el.addEventListener('drop', (e) => {
    e.preventDefault();
    const files = e.dataTransfer?.files;
    onfilechange(files);
  })
  el.addEventListener('dragover', (e) => { e.preventDefault() })
}